//
//  QZAddTagCell.m
//  WeiWeiHaircut
//
//  Created by 上官惠阳 on 15/10/15.
//  Copyright © 2015年 超群. All rights reserved.
//

#import "QZAddTagCell.h"

@implementation QZAddTagCell

- (void)awakeFromNib {
    _sexBtns = @[_manBtn,_womanBtn];
    for (UIButton *btn in _sexBtns) {
        [btn setBackgroundImage:[UIImage imageNamed:@"椭圆-1"] forState:UIControlStateNormal];
        if (btn == _manBtn) {
            [btn setBackgroundImage:[UIImage imageNamed:@"男"] forState:UIControlStateSelected];
        }else{
            [btn setBackgroundImage:[UIImage imageNamed:@"女"] forState:UIControlStateSelected];
        }
    }
    _faArr = @[_zhiBtn,_duanBtn,_panBtn,_juanBtn,_bianBtn,_ranBtn,_jieBtn,_jiaBtn,_mingBtn];
    for (UIButton *btn in _faArr) {
        [btn setBackgroundImage:[UIImage imageNamed:@"圆角矩形-8"] forState:UIControlStateNormal];
        [btn setBackgroundImage:[UIImage imageNamed:@"圆角矩形-1-拷贝-6"] forState:UIControlStateSelected];
    }
    
    //默认
    _manBtn.selected = YES;
    _mingBtn.selected = YES;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
